<{$page_message}>
<div id="edit_profile_section" name="edit_profile_section">	
	<form method="POST" action="<{$smarty.const.APPLICATION_URL}>admin/saveprofile" enctype="multipart/form-data">
		<input type="hidden" id="profile_type" name="profile_type" value="<{$profile_type}>" />
		<input type="hidden" id="return_url" name="return_url" value="<{$return_url}>" />
		Profile title: <input type="text" id="profile_title" name="profile_title" /> <br />
		<br />
		<{$fck_editor}>
		<p> You can upload 3 images: </p>
		<input type="file" id="profile_image1" name="profile_image1" />
		<input type="file" id="profile_image2" name="profile_image2" />
		<input type="file" id="profile_image3" name="profile_image3" />
		<input type="submit" value="Save" />
		<input id="btnCancelEdit" type="button" value="Cancel" onclick="cancelEditProfile()" />
	</form>
</div>